var express = require('express')
var path = require('path')
var app = express()
var history = require('connect-history-api-fallback')

app.use(history()) // 试用html5 虚拟路由

app.use('/', express.static(path.join(__dirname, 'dist'))) // 静态呈现页面

var server = app.listen(8092, function () {
  var host = 'localhost'
  console.log('server dev success')
})
